package edu.sctu.practice.class01.fengleilin.class_practice;

/**
 * Created by fll on 2015/11/5.
 */
public class CopyJavaClassTest extends ListenClass {

    public String stuName;

    public CopyJavaClassTest(String stuName){

        this.stuName = stuName;
        openComputer();
        listenHtml();
        closeComputer();
    }

    public void openComputer(){
        System.out.println(stuName + "做的第一件事是打开电脑");
    }

    @Override
    public void listenHtml() {
        super.listenHtml();
    }

    public void closeComputer(){
        System.out.println("第三件事是关闭电脑");
    }


}
